﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace lumo.display.object2D
{
    /// <summary>
    /// Has a source rectangle object. And may be cropped.
    /// </summary>
    public interface ICroppable
    {
        /// <summary>
        /// Get the original size of the object.
        /// </summary>
        Vector2 OriginalSize { get; }

        /// <summary>
        /// Access the source rectangle.
        /// </summary>
        Nullable<Rectangle> SourceRectangle { get; set; }
    }
}
